<template>
    <div>
        {{gengxin}}
        <div class="login">
dsadasdsad
        </div>
        <div>

        </div>
    </div>
</template>

<script>
import {mapState} from "vuex"
    export default {
        computed:{
            ...mapState(["gengxin"])
        }
    }
</script>

<style lang="less" scoped>
.login{
    width: 1000px;
    height: 1000px;
    background: red;
}
</style>